home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_054 / miditools / midi.h < prev    next >
Text File  |  1992-05-06  |  670b  |  32 lines

  1. #define ACTIVE_SENSING 0xfe
  2. #define EOX 0xf7
  3. #define MIDI_DATA 0x00
  4. #define NOTE_OFF 0x80
  5. #define NOTE_ON 0x90
  6. #define KEY_PRESSURE 0xa0
  7. #define PARAMETER 0xb0
  8. #define PROGRAM 0xc0
  9. #define CHANNEL_PRESSURE 0xd0
  10. #define PITCHWHEEL 0xe0
  11. #define SYSTEM_EXCLUSIVE 0xf0
  12. #define NON_MIDI_EVENT 0x1f0
  13. #define TIMETAG 0xf4
  14. #define GETMIDI(x) (x = getmidi())
  15. #define PUTMIDI(x) (putmidi( (int)(x) ))
  16. #define MIDIREQ(cmd) do { PUTMIDI(*cmd); } while (*cmd++ != EOX);
  17.  
  18. #define STORE 24
  19. #define FUNCTION 25
  20. #define EDIT 26
  21. #define INTERNAL 27
  22. #define BANKA 28
  23. #define BANKB 29
  24. #define BANKC 30
  25. #define BANKD 31
  26. #define PB_MODE 32
  27. #define KEY_SHIFT 33
  28. #define NO 34
  29. #define YES 35
  30.  
  31.  
  32.